class_name PlayerIdleState
extends PlayerState

func enter() -> void:
	player.animation_player.play("idle")

func process_input(event: InputEvent) -> State:
	super(event)
	determine_player_flipped(event)
	if is_movement_pressed(event):
		return walk_state
	elif event.is_action_pressed("jump"):
		return jump_state
	return null

func process_physics(delta: float) -> State:
	return null
